package com.zzt.questionbankquestion.repository;

import com.zzt.questionbankquestion.bean.Difficulty;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface DifficultyRepository extends PagingAndSortingRepository<Difficulty, Integer>, JpaSpecificationExecutor<Difficulty> {
    public Difficulty findByDifficultyName(String difficultyName);
}
